<%@ page language="java" contentType="text/html; charset=UTF-8"
    import="org.windblog.core.*,org.windblog.core.entity.*,java.util.Date" pageEncoding="UTF-8"%>
<%@page import="org.windblog.api.template.TemplateService"%>  

<jsp:include page="header.jsp"></jsp:include>

<div id="content" class="narrowcolumn">

<%

if (TemplateService.havePosts()){
	while (TemplateService.havePosts()) 
	{
		TemplateService.thePost();
	%>
	<%=TemplateService.theTime()%>
	<div <%=TemplateService.postClass() %> id="post-<%=TemplateService.theID() %>">
	 <h3 class="storytitle"><a href="<%=TemplateService.thePermalink() %>" rel="bookmark"><%=TemplateService.theTitle() %></a></h3>
	<div class="meta"><%=TemplateService.theCategory(", ") %> &#8212; <%=TemplateService.theAuthor() %> @ <%=TemplateService.theTime()%> <%=TemplateService.editPostLink("Edit This") %></div>

	<div class="storycontent">
		<%=TemplateService.theContent() %>
	</div>

	<div class="feedback">
		<%=TemplateService.commentsPopupLink("Comments (0)", "Comments (1)", "Comments (%)") %>
	</div>

	</div>

	
	<%
	}
}//end if
	%>
</div>
<jsp:include page="footer.jsp"></jsp:include>

